package io.github.talelin.sleeve.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import io.github.talelin.sleeve.dto.BannerDTO;
import io.github.talelin.sleeve.entity.Banner;

public interface BannerService  {
    Page selectPage(Page page);

    //查询
    Banner selectById(Long id);
    //更新
    void updateById(Long id, BannerDTO bannerDTO);

    void insertBanner(BannerDTO bannerDTO);

    void deleteById(Long id);
    //
    Long getAllBanners();

}
